This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [DataContract(nameof(SmoothFollow))] | |
| [ComponentCategory("Animation")] | |
| public class SmoothFollow : SyncScript | |
| { | |
| public Entity EntityToFollow { get; set; } | |
| public Vector3 Speed { get; set; } = new Vector3(1, 1, 1); | |
| public override void Update() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using ImmoApocalypse.Code.Core.Structs; | |
| using Stride.Core; | |
| using Stride.Engine; | |
| using System; | |
| using System.Windows.Media.Animation; | |
| namespace Core; | |
| [DataContract(nameof(AnimationEvent))] | |
| [AllowMultipleComponents] |
NewerOlder