Beispiel #1
0
 public virtual void Awake()
 {
     ObjectTrigger = ObjectTrigger ? ObjectTrigger : GetComponent <ObjectTrigger>();
     Animator      = Animator ? Animator : GetComponent <Animator>();
 }
Beispiel #2
0
 public virtual void Reset()
 {
     ObjectTrigger = GetComponent <ObjectTrigger>();
     Animator      = GetComponent <Animator>();
 }