コード例 #1
0
        void Start()
        {
            m_bombSystemObject = GameObject.FindGameObjectWithTag("BombSystem");
            m_BombSystem       = m_bombSystemObject.GetComponent <Bomb_System>();

            /* m_ExpPhysicObject = GameObject.FindGameObjectWithTag("ExplosionsPhysics");
             * m_ExpPhysic = m_ExpPhysicObject.GetComponent<ExplosionPhysics>();*/

            m_ParticleSpawner = GetComponent <ParticleSpawner>();
            m_ExpPhy          = GetComponent <ExplosionPhysics>();



            m_initCol = false;
        }
コード例 #2
0
 void Start()
 {
     m_BombSystemObject = GameObject.FindGameObjectWithTag("BombSystem");
     m_BombSystem       = m_BombSystemObject.GetComponent <Bomb_System>();
     m_TriggerOnce      = true;
 }