/* * * 初期化に関するメソッド * */ //クラスを初期化します void Start() { m_Switch = gameObject.GetComponentInChildren<M_Switch>() as M_Switch; m_JumpPad = gameObject.GetComponentInChildren<M_JumpPad>() as M_JumpPad; }
/* * * 初期化に関するメソッド * */ //クラスを初期化します void Start() { m_Switch = gameObject.GetComponentInChildren <M_Switch>() as M_Switch; m_JumpPad = gameObject.GetComponentInChildren <M_JumpPad>() as M_JumpPad; }