Cnstructions
Introduction
ObjectInstance.Instructions.Add(SomeInstruction);InstructionManager.MoveToAccurate(ObjectInstance...ObjectInstance.Set("X").To(3.0f).After(1.0f);
Clear
// This will set X to 4.0f after 3 seconds
ObjectInstance.Set("X").To(4.0f).After(3);
// This will cancel the movement:
ObjectInstance.Instructions.Clear();
// This will set the X to 5.0f after 2 seconds:
ObjectInstance.Set("X").To(5.0f).After(2);Last updated
Was this helpful?