void Start() { ghostAnimator = GetComponent <GhostAnimator> (); ObjectPool[] bulletPools = GameObject.Find("BulletPool").GetComponents <ObjectPool> (); sniperBulletPool = bulletPools [0]; submachineBulletPool = bulletPools [1]; }
public void PlayGhostAnimaiton(GhostAnimator param) { animator.Play(param.ToString()); }
public void SetGhostAnimation(GhostAnimator anim) { animator.SetInteger(_Ghost, (int)anim); }