コード例 #1
0
        protected internal override void AddToActor(CompositeActor actor)
        {
            base.AddToActor(actor);

            string functionName = $"checkTransition{Name}";
            conditionFunction = actor.ScriptSystem.LoadString($"return {condition}", functionName);
        }
コード例 #2
0
 protected internal virtual void RemoveFromActor(CompositeActor actor)
 {
     Actor = null;
 }
コード例 #3
0
 protected internal virtual void AddToActor(CompositeActor actor)
 {
     Actor = actor;
 }
コード例 #4
0
        protected internal override void RemoveFromActor(CompositeActor actor)
        {
            conditionFunction.Dispose();

            base.RemoveFromActor(actor);
        }