Inheritance: MonoBehaviour
Ejemplo n.º 1
0
public void Start()
	{
		UnityMenu = new UnityMenu();
		StartButton = new ButtonGUI("Canvas/Play");
		PreviousMButton = (new Nothing<ButtonGUI>());
		PlusButton = (new Nothing<ButtonGUI>());
		NextMButton = (new Nothing<ButtonGUI>());
		LessButton = (new Nothing<ButtonGUI>());
		BackButton = new ButtonGUI("Canvas/Back");
		
}
Ejemplo n.º 2
0
    void Start()
    {
        anim    = GetComponent <Animator>();
        col     = GetComponent <CapsuleCollider>();
        rgdbody = GetComponent <Rigidbody>();

        orgColHeight     = col.height;
        orgVectColCenter = col.center;

        currentHeight = transform.position.y;

        stats = GetComponent <UnityStats>();
        menu  = gameMaster.GetComponent <UnityMenu>();
    }