public bool Bomb() { if (!isBombReady) { return(false); } PlayerBomb bomb = world.factory.GetAmmo(AmmoType.PLAYER_BOMB) as PlayerBomb; bomb.parent = transform; m_bombTimer = 0; return(true); }
private void Awake() { playerBomb = GetComponent <PlayerBomb>(); }