Created
February 1, 2019 07:07
-
-
Save todorok1/941c2daad4a94b5368556ef4dcc7979b to your computer and use it in GitHub Desktop.
Unityでシリアライズ対象となったフィールドの値がどこに保存されるかのテスト
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 SerializeTestScript : MonoBehaviour { | |
// privateなフィールド | |
int maxHp; | |
// publicなフィールド | |
public int atk; | |
// [SerializeField]を付けたフィールド | |
[SerializeField] | |
int def; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment