private void FixedUpdate() { if (Container == null) { return; } if (behaviour != null) { behaviour.Update(); if (oldDir != behaviour.GetDirection()) { oldDir = behaviour.GetDirection(); Rotat(oldDir); } } }
private void FixedUpdate() { if (Container == null) { return; } if (behaviour != null) { behaviour.Update(); if (oldDir != behaviour.GetDirection()) { oldDir = behaviour.GetDirection(); Rotat(oldDir); } } }