Last active
July 14, 2016 06:21
-
-
Save kazumalab/89c1028cda80fcb10990015a768f980e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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