Esempio n. 1
0
    void Start()
    {
        GameObject GameManager = GameObject.Find("GameManager");

        ClearFlag   = GameManager.GetComponent <ClearFlagManager>();
        PlayerState = GameManager.GetComponent <PlayerStatusManager>();

        RemainText = RemainTextObject.GetComponent <Text>();
    }
Esempio n. 2
0
    private ClearFlagManager ClearFlag;                         /* クリアフラグへの参照 */

    void Start()
    {
        GameObject PlayerObj = GameObject.Find("Player");

        playerMove = PlayerObj.GetComponent <PlayerShootMoveManager>();

        GameObject arrowTransformController = GameObject.Find("ArrowPanel");

        arrowController = arrowTransformController.GetComponent <ArrowTransformController>();

        GameObject GameManager = GameObject.Find("GameManager");

        PlayerState = GameManager.GetComponent <PlayerStatusManager>();
        ClearFlag   = GameManager.GetComponent <ClearFlagManager>();

        GameObject RemainManager = GameObject.Find("RemainManager");

        ShootRemainCount = RemainManager.GetComponent <ShootRemainManager>();
    }