// Use this for initialization void Start () { platformType = PlatformS.GetPlatform (); //nextLevelString = LevelSelectMenu.selectedLevelString; followRef = GetComponent<CameraFollowS>(); ScoreKeeperS.gameStarted = true; #if UNITY_WIIU wiiUInput2 = GameObject.Find("WiiUControlHandlerPlayer" + 2).GetComponent<WiiUControllerManagerS>(); wiiUInput3 = GameObject.Find("WiiUControlHandlerPlayer" + 3).GetComponent<WiiUControllerManagerS>(); wiiUInput4 = GameObject.Find("WiiUControlHandlerPlayer" + 4).GetComponent<WiiUControllerManagerS>(); #endif }
void Awake() { F = this; }
// Use this for initialization void Start() { platformType = PlatformS.GetPlatform(); //cursorObj.transform.position = Vector3.Lerp( cursorObj.transform.position, cursorPositions[currentCursorPos].transform.position,cursorSpeed); cursorObj.transform.position = cursorPositions[currentCursorPos].transform.position; followRef = GetComponent<CameraFollowS>(); //playerNum = GlobalVars.lastWinningPlayer; //cursorLabel.color = cursorCols[GlobalVars.lastWinningPlayer-1]; //cursorLabel.text = "P" + GlobalVars.lastWinningPlayer; cursorLabel.text = ""; }
void Start() { C = this; originPosition = transform.position; ownFollow =GetComponent<CameraFollowS>(); //print (ownFollow); }
void Start() { flickerTimeCountdown = flickerTimeMax; fullscreenOn = Screen.fullScreen; inputDelay = inputDelayStart; platformType = PlatformS.GetPlatform (); cameraFollow = GameObject.Find("Main Camera").GetComponent<CameraFollowS>(); /*if (started){ foreach (GameObject postcard in postcards) { postcard.SetActive(false); } Instantiate(selectSoundObjs[0]); inputDelay = 0; }**/ cursorObj.transform.position = cursorPositions[currentCursorPos].transform.position; }