コード例 #1
0
    public static SingletonLeader Instance()
    {
        if (instance == null)
        {
            instance = new SingletonLeader();
        }

        return(instance);
    }
コード例 #2
0
ファイル: SingletonLeader.cs プロジェクト: Gval/SomeGameThird
    public static SingletonLeader Instance()
    {
        if (instance == null)
        {
            instance = new SingletonLeader();
        }

        return instance;
    }