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