Skip to content

Instantly share code, notes, and snippets.

@IneonInoodle
Created September 11, 2018 08:42
Show Gist options
  • Save IneonInoodle/41c782da7446741e51cbf79362f78e7a to your computer and use it in GitHub Desktop.
Save IneonInoodle/41c782da7446741e51cbf79362f78e7a to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class MoveCommand : Command {
public override void StartCommandExecution()
{
Debug.Log("Play Move Coroutine");
// AFTER COROUTINE IS DONE THEN CALL
CommandExecutionComplete();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment