Created
June 30, 2018 08:08
-
-
Save todorok1/29432378c365c9193e56c704f94c990b to your computer and use it in GitHub Desktop.
RequireComponentは自作スクリプトでも有効
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
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