void Start() { Tracker = FindObjectOfType <ManagerTracker>(); TheLineRenderer = GetComponent <LineRenderer>(); TheParticleSystem = GetComponent <ParticleSystem>(); ThePlayerID = transform.root.GetComponent <PlayerID>(); }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); ThePlayerID = GetComponent <PlayerID>(); TheUnitStats = GetComponent <UnitStats>(); TheNavMeshAgent = GetComponent <NavMeshAgent>(); }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); TheText = GetComponent <Text>(); TheImage = GetComponent <Image>(); TheButton = GetComponent <Button>(); TheMeshRenderer = GetComponent <MeshRenderer>(); }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); TheText = GetComponent <Text>(); TheImage = GetComponent <Image>(); TheMeshRenderer = GetComponent <MeshRenderer>(); TheStatBar = GetComponent <StatBar>(); if (TheText != null) { PreviousColor = TheText.color; } }
void Awake() { Tracker = GameObject.FindGameObjectWithTag("ManagerTracker").GetComponent <ManagerTracker>(); MeshRenderer theMeshRenderer = GetComponent <MeshRenderer>(); if (theMeshRenderer != null) { Meshes.Add(theMeshRenderer); } UpdateColor(-1); }
void Start() { DontDestroyOnLoad(transform.gameObject); Tracker = FindObjectOfType <ManagerTracker>(); GetManagers(); if (isServer) { ID = connectionToClient.connectionId; } if (!hasAuthority) { return; } Tracker.ThePlayerControlPanel = this; }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); }
void Start() { Tracker = GameObject.FindGameObjectWithTag("ManagerTracker").GetComponent <ManagerTracker>(); TheNetworkManager = GameObject.FindGameObjectWithTag("NetworkManager").GetComponent <NetworkManager>(); }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); StartingScale = transform.localScale; CurrentChanges = (float)Tracker.GetType().GetField(ValueNameCurrent).GetValue(Tracker); }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); DontDestroyOnLoad(transform.gameObject); }
void Start() { Tracker = GameObject.FindGameObjectWithTag("ManagerTracker").GetComponent <ManagerTracker>(); TheMeshRenderer = GetComponent <MeshRenderer>(); UpdateColor(); }
void Start() { Tracker = GameObject.FindGameObjectWithTag("ManagerTracker").GetComponent <ManagerTracker>(); TheSelectionManager = GetComponent <SelectionManager>(); }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); TheRenderer = GetComponent <Renderer>(); TheGate = GetComponent <Gate>(); }
void Start() { Tracker = FindObjectOfType <ManagerTracker>(); TheRenderer = GetComponent <Renderer>(); ThePlayerID = GetComponent <PlayerID>(); }