void Awake() { if(startingAction != null) { if(addEventOfName(startingAction)){}//Success! else { Debug.LogError("No Starting Event Found with name: " + startingAction); } } behavior_impl = GetComponent<SM_Behavior>(); if(behavior_impl == null){ Debug.LogError("No behavior impl attached"); } }
void Awake() { if (startingAction != null) { if (addEventOfName(startingAction)) { } //Success! else { Debug.LogError("No Starting Event Found with name: " + startingAction); } } behavior_impl = GetComponent <SM_Behavior>(); if (behavior_impl == null) { Debug.LogError("No behavior impl attached"); } }