Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     fanWind         = gameObject.GetComponentInChildren <FanWind>();
     currentFanSpeed = 0;
     placeFanInPosition(currentFanPositionIndex);
     SetVisible(false);
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     _fanWind = windZone.GetComponent <FanWind>();
     rb       = gameObject.GetComponent <Rigidbody>();
 }