void OnEnable() { fsmComponent = target as PlayMakerFSM; // can happen when playmaker is updated if (fsmComponent != null) { BuildFsmVariableList(); fsmComponentInspector = this; } }
void OnEnable() { fsmComponent = target as PlayMakerFSM; // can happen when playmaker is updated if (fsmComponent != null) { BuildFsmVariableList(); fsmComponentInspector = this; } }
void OnEnable() { fsmComponent = (PlayMakerFSM)target; BuildFsmVariableList(); fsmComponentInspector = this; }