Skip to content

Instantly share code, notes, and snippets.

@baba-s
Created December 12, 2013 00:48
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 baba-s/7921389 to your computer and use it in GitHub Desktop.
Save baba-s/7921389 to your computer and use it in GitHub Desktop.
using UnityEngine;
public class Character : MonoBehaviour
{
[SerializeField]
private float speed;
public float Speed
{
get { return speed; }
set { speed = value; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment