//////////////////////////////////////////////////////////////////////////////////////////////// /*--------------------------------------------------------------------------------------------*/ public void Awake() { vInputProv = gameObject.GetComponent <HovercastTestInputProvider>(); vCursor = (TestInputCursor)vInputProv.GetSide(false).Cursor; vAnimPos = new DemoAnimVector3(2000); vStage = ScenarioStage.SelectSliderParent; }
//////////////////////////////////////////////////////////////////////////////////////////////// /*--------------------------------------------------------------------------------------------*/ public void Init(bool pIsLeft) { IsLeft = pIsLeft; vMenu = HovercastTestInputProvider.GetChild <TestInputMenu>(gameObject, "Menu"); vCursor = HovercastTestInputProvider.GetChild <TestInputCursor>(gameObject, "Cursor"); vMenu.IsLeft = IsLeft; vCursor.IsLeft = IsLeft; }