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; }
void Start() { m_BombSystemObject = GameObject.FindGameObjectWithTag("BombSystem"); m_BombSystem = m_BombSystemObject.GetComponent <Bomb_System>(); m_TriggerOnce = true; }