コード例 #1
0
    // Use this for initialization
    void Start()
    {
        _sessionManager        = GameObject.FindGameObjectWithTag("tSession").GetComponent <LFSessionManager>();
        _userInput             = new LFUserInput();
        _userInput.exitAction += CancelAction;

        ShowResult();
    }
コード例 #2
0
 private void RemoveUserInput()
 {
     if (_userInput != null)
     {
         _userInput.Clean();
         _userInput = null;
     }
 }
コード例 #3
0
 // Use this for initialization
 void Start()
 {
     _anim                       = gameObject.GetComponent <Animator> ();
     _collidedEnemy              = new List <GameObject> ();
     _userInput                  = new LFUserInput();
     _userInput.attackAction    += Attack;
     _userInput.attackEndAction += EndAttack;
     _userInput.eatAction       += Eat;
 }
コード例 #4
0
    // Use this for initialization
    void Start()
    {
        _rowList        = new List <GameObject> ();
        _sessionManager = GameObject.FindGameObjectWithTag("tSession").GetComponent <LFSessionManager>();

        if (_sessionManager != null && _sessionManager.GetCurrentSession() != null)
        {
            CreateLeadboardRows();
        }

        _userInput             = new LFUserInput();
        _userInput.exitAction += CancelAction;
    }
コード例 #5
0
    // Use this for initialization
    void Start()
    {
        _userInput             = new LFUserInput();
        _userInput.exitAction += CancelAction;
        _sessionManager        = GameObject.FindGameObjectWithTag("tSession").GetComponent <LFSessionManager>();

        if (_sessionManager != null && _sessionManager.GetCurrentSession() != null)
        {
            _session = _sessionManager.GetCurrentSession();
        }

        playerName.text = _session.PlayerName;
    }
コード例 #6
0
 // Use this for initialization
 void Start()
 {
     _userInput             = new LFUserInput();
     _userInput.exitAction += CancelAction;
 }
コード例 #7
0
ファイル: LFMove.cs プロジェクト: Kalasha666/LabyrinthFinder
 // Use this for initialization
 void Start()
 {
     _anim      = gameObject.GetComponent <Animator> ();
     _userInput = new LFUserInput();
 }