Example #1
0
 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);
 }
Example #2
0
 // Use this for initialization
 protected void Start()
 {
     _projectileAttributes = GetComponent <ProjectileAttributes>();
     _destination          = transform.position;
 }