// Start is called before the first frame update void Start() { rb = GetComponent <Rigidbody2D>(); circleCollider = GetComponent <CircleCollider2D>(); originalGravity = rb.gravityScale; level = FindObjectOfType <Scene_manager>(); dm = FindObjectOfType <Dialog_Manager>(); }
// Use this for initialization void Start() { Tutorial = GameObject.FindGameObjectWithTag("Tutorial"); LevelSelect = GameObject.FindGameObjectWithTag("LevelSelectUI"); scenemanager_ = GameObject.FindGameObjectWithTag("Scenemanager").GetComponent <Scene_manager>(); gameLevel = GameLevel.Easy; Startstate(); }
void Start() { sleepGageScript_ = GameObject.Find("ScriptController").GetComponent <SleepGageScript>(); clock_ = GameObject.Find("Clock").GetComponent <Clock>(); scenemanager_ = GameObject.FindGameObjectWithTag("Scenemanager").GetComponent <Scene_manager>(); alarmtime_ = GameObject.Find("SoundController").GetComponent <SoundsManager>().alarm; Gamestatus_ = Gamestatus.Play_bfor; }
// Use this for initialization void Start() { _scenemanager = GameObject.FindGameObjectWithTag("Scenemanager").GetComponent <Scene_manager>(); // 初期ポーズは指定なし _Pose = PoseState.None; _ScoreWhole = false; _ScoreUpper = false; _ScoreLower = false; }
// Use this for initialization void Start() { scenemanager_ = GameObject.FindGameObjectWithTag("Scenemanager").GetComponent <Scene_manager>(); }
// Use this for initialization void Start() { man = GetComponent <ReplayManager> (); currentsce = GameObject.FindGameObjectWithTag("Scenemanager").GetComponent <Scene_manager>(); }
void Start() { scenemanager_ = GameObject.FindGameObjectWithTag("Scenemanager").GetComponent <Scene_manager>(); sleepGageScript_ = GameObject.Find("ScriptController").GetComponent <SleepGageScript>(); clock_ = GameObject.Find("Clock").GetComponent <Clock>(); }
void Start() { sentences = new Queue <string>(); level = FindObjectOfType <Scene_manager>(); }