void StartMoveTo(MuPlayer.PlayerData Data) { float dist = Distance(); if (dist <= _distance && _action == Action.Closed) { StartCoroutine(Open()); } else if (dist > _distance && _action == Action.Opened) { StartCoroutine(Close()); } }
void StartMoveTo(MuPlayer.PlayerData Data) { float dist = Distance(); if (dist < _distance) { need = Quaternion.Euler(closedRotate.x, _rotateY, closedRotate.z); } else { need = closedRotate; } }
void StartMoveTo(MuPlayer.PlayerData Data) { Check(); }