//Mono stuff void Awake() { if (thisInv == null) { thisInv = this; } }
void Start() { // if (thisLevel == null) // Debug.LogError ("no Level referenced for this entity: " + gameObject.name); thisManage = GameManager.thisM; thisInv = invManager.thisInv; // thisLevel.addEntity (this); if (dropRandom) { amount = Random.Range(1, amount); } pickable = false; Invoke("resetPick", 0.5f); }
void Start() { player = invManager.thisInv; }