1. 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?
        }
    }
    
     
    Last edited by a moderator: Apr 26, 2016
  2. 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.
     
  3. the script can't edit.:(
    otherwise not working!
     
  4. Sorry, not sure what you mean by this.