Inheritance: MonoBehaviour
コード例 #1
0
    public ScoreoidInterface ScoreKeeper()
    {
        if (null == scoreoidInterface)
        {
            scoreoidInterface = GameObject.Find("ScoreKeeper").GetComponent <ScoreoidInterface>();
        }

        return(scoreoidInterface);
    }
コード例 #2
0
    public ScoreoidInterface ScoreKeeper()
    {
        if(null == scoreoidInterface)
            scoreoidInterface = GameObject.Find("ScoreKeeper").GetComponent<ScoreoidInterface>();

        return scoreoidInterface;
    }