// Use this for initialization void Start() { // m_picked = false; enteredGO = gameObject.transform.FindChild("Entered").gameObject; leavedGO = gameObject.transform.FindChild("Leaved").gameObject; sceneController = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameSceneController>(); updateVisuals(false); }
// Use this for initialization void Start() { m_initialPosition = transform.localPosition; TextMesh pickupText = gameObject.transform.FindChild("Entered/Pickup/PickupText").GetComponent<TextMesh>(); pickupText.text = "Use " + m_requiredTriggerItemId.ToString() + "\nhere"; enteredGO = gameObject.transform.FindChild("Entered").gameObject; leavedGO = gameObject.transform.FindChild("Leaved").gameObject; sceneController = GameObject.FindGameObjectWithTag("GameController").GetComponent<GameSceneController>(); updateActiveObjects(false); // updateVisuals(false); }
// Use this for initialization void Start() { gameController = GameObject.Find("!GameController").GetComponent<GameSceneController>(); bb = GameObject.Find("Main Camera").GetComponentInChildren<BallBehavior>(); audioController = GameObject.Find("AudioController"); }
private void Awake() { _sceneController = GameSceneController.Instance; }
/// <summary> /// 필요한 오브젝트들 설정; /// </summary> /// <returns></returns> public void GetObjects() { _sceneController = GameSceneController.Instance; }
void Start() { my = GameSceneController.GetInstance(); action = GameSceneController.GetInstance() as IUserActions; }
private void Start() { gameSceneController = GameObject.Find("GameSceneController").GetComponent <GameSceneController>(); registerOnGrid(); }
private void Awake() { _gameSceneController = FindObjectOfType <GameSceneController>(); }
private void Start() { gameSceneController = FindObjectOfType <GameSceneController>(); gameSceneController.UpdateToKill += GameSceneController_UpdateToKill; }
void Start() { my = GameSceneController.GetInstance(); act = GameSceneController.GetInstance() as IUserAction; state = GameSceneController.GetInstance() as Judgement; }
private void Die() { Recycle(); GameSceneController.OnEnemyDeath(identifierName); }
public Gamemode(GameSceneController parent, GamemodeType type) { gameSceneController = parent; gamemodeType = type; }
// Use this for initialization private void Start() { _sceneController = GameSceneController.Instance; CurrentNum = 0; Cards = new GameCard[CardTotal]; InitCards(); InitHealthTotal(); }
private void Awake() { sceneController = GameSceneController.Instance; }
void Start() { GameSceneController.GetInstance().setGenGameObject(this); loadSrc(); }
void Start() { GameSceneController my = GameSceneController.GetInstance(); my.setBaseCode(this); }
void Awake() { GameSceneController = GameSceneController.FindObjectOfType <GameSceneController> (); }
private void Start() { my = GameSceneController.GetInstance(); action = GameSceneController.GetInstance() as IUact; }
private void Start() { gameSceneController = FindObjectOfType <GameSceneController>(); }
void Start() { GameSceneController my = GameSceneController.GetInstance(); }
private void Start() { gameSceneController = FindObjectOfType <GameSceneController>(); head = transform.parent.gameObject.GetComponent <PlayerController>(); }
void Start() { scene = GameSceneController.GetInstance(); state = GameSceneController.GetInstance() as IQueryGameStatus; action = GameSceneController.GetInstance() as IUserActions; }
/// <summary> /// 게임 종료시에 호출; /// </summary> public void OnApplicationQuit() { _instance = null; }
/// <summary> /// 각 플레이어 주사위 수를 생성; /// </summary> /// <returns></returns> public void BattleRoll() { if (_sceneController == null) { _sceneController = GameSceneController.Instance; } Debug.Log("BattleRoll"); for (var i = 0; i < 2; i++) { _sceneController.BattleManager.BattleDices[i].RollDices(); } }
private void Awake() { if (_instance == null) { _instance = this; DontDestroyOnLoad(gameObject); } else if (_instance != this) { Debug.LogWarning("A singleton already exist! Destroying new one."); Destroy(this); } }
// Use this for initialization private void Start() { _sceneController = GameSceneController.Instance; }
void Start() { my = GameSceneController.GetInstance(); my.setGenGameObject(this); Screen(); }
// Use this for initialization void Start() { gameController = GameObject.Find("!GameController").GetComponent<GameSceneController>(); }
public DioramaSetupInputState(GameSceneController controller) { this.controller = controller; }
// 游戏开始时 private void Start() { my = GameSceneController.GetInstance(); my.setGenGameObject(this); LoadSrc(); }
void Start() { gameSceneController = GameSceneController.getInstance(); gameSceneController.setGameModels(this); }