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