Пример #1
0
    public static SingletonMonoBehaviour GetSingleton(System.Type type)
    {
        Initializer.Bind();
 
        return singletonsObject ? SingletonCast( singletonsObject.GetComponent(type), type) : null;
    }