// Run Once when Scene is first Loaded ========================================================= void Start() { // Find PC object go_PC = GameObject.FindGameObjectWithTag("PC"); PuzzleScript = transform.parent.gameObject.GetComponent<TL_ControlManager>(); // Set Initial Conditions bl_display_message = false; }
void Start() { ControlScript = GetComponentInParent<TL_ControlManager>(); }
void Start() { PuzzleScript = transform.gameObject.GetComponentInParent<TL_ControlManager>(); }
void Start() { PuzzleScript = transform.gameObject.GetComponentInParent<TL_ControlManager>(); ps_LaserSight = GetComponent<ParticleSystem>(); }