コード例 #1
0
        public ActionInstance Play(UpdateType updateType)
        {
            if (state_ != InstanceState.READY)
            {
                throw new Exception("State must be READY");
            }

            updateType_ = updateType;

            state_   = InstanceState.PLAYING;
            oldTime_ = GetLocalTime();

            action_._Begin();

            return(this);
        }
コード例 #2
0
 protected override void OnBegin()
 {
     action_._Begin();
 }