Exemplo n.º 1
0
 protected virtual void Awake()
 {
     stateTracker = GetComponent <throwableStateTracker>();
     this.enabled = false;
 }
Exemplo n.º 2
0
 void Start()
 {
     stateTracker = GetComponent <throwableStateTracker>();
     this.enabled = false;
     Debug.Log(string.Format("Throwable {0} started checking for enemies in layer {1}", gameObject.name, LayerMask.LayerToName(enemyLayerIndx)));
 }