|
|
@@ -105,8 +105,8 @@ public class MoveCharacter : Character
|
|
|
public override void Init()
|
|
|
{
|
|
|
base.Init();
|
|
|
- mecanim.transform.position = Vector3.zero;
|
|
|
- mecanim.transform.rotation = Quaternion.Euler(Vector3.zero);
|
|
|
+ mecanim.transform.localPosition = Vector3.zero;
|
|
|
+ mecanim.transform.localRotation = Quaternion.Euler(Vector3.zero);
|
|
|
platformRotZ = 0;
|
|
|
|
|
|
}
|