// Get other Scripts before void Start private void Awake() { mouseManager = mouseObject.GetComponent <MouseManager>(); fleetGuiController = playerController.GetComponent <FleetGuiController>(); fleetCollission = playerController.GetComponent <FleetCollision>(); }
protected void PlayerPawnStartInit() { playerControllerObj = GameObject.Find("PlayerController"); playerController = playerControllerObj.GetComponent <PlayerController>(); fleetCollision = playerControllerObj.GetComponent <FleetCollision>(); }