Exemple #1
0
 // Use this for initialization
 void Start()
 {
     dishSocket = GetComponentInChildren <StackUpObjectM> ();
     allDishTables.Add(this);
     CreateDish();
     CreateDish();
     CreateDish();
     CreateDish();
 }
Exemple #2
0
 protected void Start()
 {
     agent      = GetComponent <NavMeshAgent> ();
     trans      = transform;
     handSocket = GetComponentInChildren <StackUpObjectM>();
 }