Esempio n. 1
0
 /// <summary>
 /// Mono object awake
 /// </summary>
 private void Awake()
 {
     compHolder = ComponentHolder.GetHolder(gameObject);
     if (node != null)
     {
         node = node.ResetNode();
     }
 }
 /// <summary>
 /// Mono object awake
 /// </summary>
 private void Awake()
 {
     holder             = ComponentHolder.GetHolder(gameObject);
     SpecialWeaponFire += FireSpecialWeapons;
 }
 /// <summary>
 /// Mono awake
 /// </summary>
 private void Awake()
 {
     holder = ComponentHolder.GetHolder(gameObject);
 }
 /// <summary>
 /// Mono awake
 /// </summary>
 private void Awake()
 {
     holder      = ComponentHolder.GetHolder(gameObject);
     UseAbility += AbilityUsed;
 }
Esempio n. 5
0
 /// <summary>
 /// Mono awake
 /// </summary>
 private void Awake()
 {
     holder   = ComponentHolder.GetHolder(gameObject);
     listener = holder.CollisionListner.GetComponent <ICollisionListner>();
 }