Skip to content

Instantly share code, notes, and snippets.

@TheCuttlefish
Last active November 6, 2019 13:47
Show Gist options
  • Save TheCuttlefish/be058731e8c4c2eae4d9411e259cbcd4 to your computer and use it in GitHub Desktop.
Save TheCuttlefish/be058731e8c4c2eae4d9411e259cbcd4 to your computer and use it in GitHub Desktop.
Exposed class in Unity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerClass : MonoBehaviour
{
// Start is called before the first frame update
[System.Serializable]
public class Player{
public bool jump;
public bool run;
public AnimationCurve ani;
public Color colour;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment