Ejemplo n.º 1
0
    public virtual void Start()
    {
        //GameActorManagerに切り離す//
        state_InGame = State_InGame.Instance;
        state_InGame.GameActorList.Add(this);

        attackArea.enabled = false;
        hitArea.enabled    = true;
    }
Ejemplo n.º 2
0
    private void Awake()
    {
        thisText         = GetComponent <Text>();
        thisText.enabled = false;

        thisButton = GetComponent <Button>();
        thisButton.onClick.AddListener(ShowThisGraveMessage);

        state_InGame = State_InGame.Instance;
    }
Ejemplo n.º 3
0
 void Start()
 {
     state_InGame = GameObject.FindObjectOfType <State_InGame>();
 }