like this
Code:using UnityEngine; using System.Collections; public class test : MonoBehaviour { void Start () { } void OnCollisionEnter(Collision collisionInfo) { //how to give player items in Unity3D? } }
Solved Running code in new map for Unity3d?
Discussion in 'Hurtworld Development' started by 不是很会玩, Apr 26, 2016.
-
Use the GiveItemTrigger script. Put this on a trigger in your level, and when a player enters it, they will be given the specified items.
-
otherwise not working! -
Sorry, not sure what you mean by this.