Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     if (GlobalVariables.local)
     {
         enabled = false;
     }
     else
     {
         ngc  = GameObject.FindObjectOfType <NetworkGameController>();
         mov  = gameObject.GetComponent <ProtoMovement>();
         circ = gameObject.GetComponent <Circle>();
     }
 }
Esempio n. 2
0
 new void Awake()
 {
     interactionScript = new Interaction(this);
     movementScript    = GetComponent <ProtoMovement>();
     base.Awake();
 }