NullReferenceException: Object reference not set to an instance of an objectEnemy.SpawnPackableItem ...
NullReferenceException: Object reference not set to an instance of an object
Enemy.SpawnPackableItem () (at Assets/Scripts/Enemy.cs:110)
Enemy.TakeDamage (System.Int32 damage) (at Assets/Scripts/Enemy.cs:102)
JavelinBullet.OnCollisionEnter (UnityEngine.Collision collision) (at Assets/Scripts/Weapon/JavelinBullet.cs:49)
UnityEngine.Physics:OnSceneContact(PhysicsScene, IntPtr, Int32)
这是啥原因呀,老师,已经困扰半天了