Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     LockedOnMaster = Lock.GetComponent <LockedOnMaster>();
     Charging       = GetComponent <ParticleSystem>();
     em             = Charging.emission;
     em.enabled     = false;
     AimingScript   = AimingCrosshair.GetComponent <AimingScript>();
 }
Esempio n. 2
0
 void Start()
 {
     LockedOnCHM    = GameObject.Find("LockedOnCHM");
     LockedOnMaster = LockedOnCHM.GetComponent <LockedOnMaster>();
     boxTransform   = GetComponent <RectTransform>();
     sRend          = GetComponent <Image>();
     sRend.enabled  = false;
 }
Esempio n. 3
0
 // Start is called before the first frame update
 void Start()
 {
     LockedOnCHM    = GameObject.Find("LockedOnCHM");
     LockedOnMaster = LockedOnCHM.GetComponent <LockedOnMaster>();
 }