protected void Start() { Animator = transform.parent.gameObject.GetComponentInChildren <Animator>(); ProjectileAttributes = transform.parent.gameObject.GetComponent <ProjectileAttributes>(); ParentTransform = transform.parent.transform; RTS_Camera.CameraDictionary.TryGetValue(CameraName, out Camera); }
// Use this for initialization protected void Start() { _projectileAttributes = GetComponent <ProjectileAttributes>(); _destination = transform.position; }