コード例 #1
0
        void DrillFX(Vector2 direction, RayCastData rayCastData)
        {
            SoundManager.PlaySound(SoundManager.SoundEnum.Drill);

            if (ShovelAnim != null)
            {
                ShovelAnim.StartAnimation(direction.X);
            }
            if (Shake != null)
            {
                Shake.InitShake(ShakeData);
            }
            if (fxManager != null)
            {
                fxManager.CreateParticleSystem(rayCastData.Pos);
            }
        }