void Start() { collider = GetComponent <BoxCollider>(); s = collider.size; c = collider.center; running = GameObject.Find("GameLogic").GetComponent <Running>(); }
void Start() { collider = GetComponent<BoxCollider>(); s = collider.size; c = collider.center; running = GameObject.Find("GameLogic").GetComponent<Running>(); }
public ResponseGameState() { gameObject = GameObject.Find("GameLogic"); //Debug.Log(gameObject.name); running = gameObject.GetComponent <Running>(); }
public ResponseHeartbeat() { gameObject = GameObject.Find("Running"); running = gameObject.GetComponent <Running>(); }