Exemple #1
0
 void Start()
 {
     GetComponentMethod();          //Get Component
     CalculateSpeed();              //Set All Movement Speed
     SetPoint();                    //Set Hp
     FlashLight.SetActive(false);   //Turn of FlashLight
     GunModeNum = 1;                //Set GunMode to Rifle
     CrossDot.ChangeDotMaterial(1); //Set CrossHair to Rifle
     rg.useGravity = useGravity;    //Set Gravity
 }