void Start() { physicsCollider = GetComponent <Collider>(); myRigidbody = GetComponent <Rigidbody>(); standardOrbScript = GetComponent <StandardOrb>(); holdableScript = GetComponent <Holdable>(); }
void Start() { this.orbScript = GetComponent <StandardOrb>(); this.holdableScript = GetComponent <Holdable>(); if (!holdableScript.IsFree) { orbScript.chargeTime = 0; } this.hintLine = transform.Find("Hint Flare").GetComponent <LineRenderer>(); this.hintLine.enabled = false; }