playMaker

Author Topic: Executing Code in Editor (outside Playmode)  (Read 748 times)

Plancksize

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 75
Executing Code in Editor (outside Playmode)
« on: April 26, 2021, 07:31:00 AM »
My question regarding this is two-fold:

- On a custom action. is there any place where I can set a little on/off toggle or similar that works outside playmode that is not ErrorCheck()?  ErrorCheck() works fine for what I want but feels "wrong" to have it there.

and

- On ErrorCheck() is there a direct way to replicate the "add component" that some of the default error checks have, but for custom things?
What I want to add is not really a component, but rather a Volume override. I do have an error check in place that looks for the override but would be nice to be able to click that error to add it when it's not found.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Executing Code in Editor (outside Playmode)
« Reply #1 on: April 26, 2021, 03:44:25 PM »
HI.
Here i a link to the Methods, some are usable in editor :
https://hutonggames.fogbugz.com/default.asp?W1100

Plancksize

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 75
Re: Executing Code in Editor (outside Playmode)
« Reply #2 on: April 26, 2021, 03:52:18 PM »
Thanks! I did miss that wiki page :)