Last active
May 20, 2016 19:16
-
-
Save stella3d/933d75dd04b8dbec778c68d926597e80 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 UnityEngine.Serialization; | |
public class NiceDataClass : MonoBehaviour { | |
[SerializeField] | |
public string name; | |
[SerializeField] | |
public int particleCount; | |
} |
This file contains hidden or 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 UnityEngine.Serialization; | |
public class NiceDataClass : MonoBehaviour { | |
[FormerlySerializedAs("name")] | |
[SerializeField] | |
public string objectName; | |
[FormerlySerializedAs("particleCount")] | |
[SerializeField] | |
public int count; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment