void Start() { ntq = npc.GetComponent<NPC_TriggerQuest> (); savedChildCount = rubbleParent.transform.childCount; }
void Start() { bab = balanceArmObject.GetComponent<BalanceArmBehaviour> (); ntq = npc.GetComponent<NPC_TriggerQuest> (); }
void Start() { ntq = npc.GetComponent<NPC_TriggerQuest> (); baseY = transform.position.y; targetY = targetYObj.transform.position.y; float topY = transform.position.y + transform.localScale.z / 2; innerRadius = wellObject.transform.localScale.x * 0.75f; string s_innerRadius = "" + innerRadius; string maxHeight = "" + (targetY + fudge - topY); string minHeight = "" + (targetY - fudge - topY); saveExtraLines (s_innerRadius, maxHeight, minHeight); }