public PlayerStructs(Transform trans) { //注意 此时可以将AnimProxy传给Model temp = trans; control = new PosImplementation(trans); animControl = new AnimProxy(); targetTime = RPGLogicBase.Time.realTimeSinceStartUp + Random.Range(0, 5f); rotControl = new RotationImplementation(trans); GameLoopTrigger.inst.RegisteUpdate(Update); }
public PlayerRotationBehaviour(IRotationControl rotationControl) { this.rotationControl = rotationControl; }