readme
This commit is contained in:
@@ -26,9 +26,12 @@ public partial class RotationComponent : EntityComponent
|
||||
/// 可读可写的当前角度
|
||||
/// </summary>
|
||||
public float CurrentAngle;
|
||||
|
||||
[ExportCategory("Nodes")]
|
||||
[Export] public Node3D node3D;
|
||||
public override void _Ready()
|
||||
{
|
||||
//保存默认角度
|
||||
OriginalEuler = Rotation;
|
||||
OriginalEuler = node3D.RotationDegrees;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user