예제 #1
0
 void Update()
 {
     if (inTrigger == true && Input.GetKeyDown(KeyCode.E) && platform.IsStationary() == true)
     {
         platform.MovePlatform();
     }
 }