Skip to content

Instantly share code, notes, and snippets.

@oitsmalab
Created June 25, 2018 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oitsmalab/64e5f0aee13fae187a658cd08b92c8f7 to your computer and use it in GitHub Desktop.
Save oitsmalab/64e5f0aee13fae187a658cd08b92c8f7 to your computer and use it in GitHub Desktop.
using UnityEngine;
public class NormalModeSample : MonoBehaviour
{
private float sampleVariable;
public float SampleVariable
{
get
{
return sampleVariable;
}
set
{
sampleVariable = value;
Debug.Log(gameObject.name + ":" + sampleVariable);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment