void SetBulletType(GameObject mybullet) { Bullet_Level3 bl = mybullet.GetComponent <Bullet_Level3>(); Debug.Log(bl.bulletType); Debug.Log(playerStatus.playerCharacter); bl.bulletType = playerStatus.playerCharacter; }
void SetBulletIce(GameObject mybullet, bool isIce) { Bullet_Level3 bl = mybullet.GetComponent <Bullet_Level3>(); bl.isIceBullet = isIce; }