Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RequireComponentは自作スクリプトでも有効
public class RequiredCharacterStatus : MonoBehaviour {
// キャラクターのステータスを保持するクラス
public int maxHp = 100;
public int hp = 80;
public int atk = 50;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.