public void Start() { _calculationStore = new CalculationStore(); NavBallGameObject = GameObject.Find("NavBall"); if (_vectorsPivotTransform == null) { _vectorsPivotTransform = NavBallGameObject.transform.FindChild("vectorsPivot"); } if (_vectorsPivotTransform == null) { return; } if (_navBallBehaviour == null) { _navBallBehaviour = NavBallGameObject.GetComponent <NavBall>(); } LoadTexture(); BuildEnhancedNavBall(); CreateManueverPlane(); BuildGhostingLayer(); //TestPlane(); }
public void Start() { _calculationStore = new CalculationStore(); NavBallGameObject = GameObject.Find("NavBall"); if (_vectorsPivotTransform == null) { _vectorsPivotTransform = NavBallGameObject.transform.FindChild("vectorsPivot"); } if (_vectorsPivotTransform == null) return; if (_navBallBehaviour == null) { _navBallBehaviour = NavBallGameObject.GetComponent<NavBall>(); } LoadTexture(); BuildEnhancedNavBall(); CreateManueverPlane(); BuildGhostingLayer(); //TestPlane(); }