From 6ce8b9e22fc13be34b442c7b6af48b42cd44275a Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Wed, 13 Mar 2024 11:00:58 +0800 Subject: +init --- ProjectileHitSpawn.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ProjectileHitSpawn.cs (limited to 'ProjectileHitSpawn.cs') diff --git a/ProjectileHitSpawn.cs b/ProjectileHitSpawn.cs new file mode 100644 index 0000000..8a1df24 --- /dev/null +++ b/ProjectileHitSpawn.cs @@ -0,0 +1,18 @@ +using System; +using UnityEngine; + +[Serializable] +public class ProjectileHitSpawn +{ + public enum SpawnRotation + { + normal, + forward + } + + public GameObject spawnedObject; + + public SpawnRotation groundSpawnRotation; + + public SpawnRotation playerSpawnRotation; +} -- cgit v1.1-26-g67d0