Skip to content

Instantly share code, notes, and snippets.

@kazumalab
Last active July 14, 2016 06:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazumalab/89c1028cda80fcb10990015a768f980e to your computer and use it in GitHub Desktop.
Save kazumalab/89c1028cda80fcb10990015a768f980e to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class Movement : MonoBehaviour { // スーパークラス
public int id;
public int physical;
public virtual void move() {
Debug.Log ("override move.");
}
public virtual void rotation () {
Debug.Log ("override rotation.");
}
}
public interface Damege {
int get_damage();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment