Пример #1
0
    // ==================

    void Awake()
    {
        if (instance != null && instance != this)
        {
            Destroy(this.gameObject);
            return;
        }
        else
        {
            instance = this;
            UpdateWalls(1);
        }
    }
Пример #2
0
 public ContentPuller(IContentPullerStrategy contentPullerStrategy)
 {
     _contentPullerStrategy = contentPullerStrategy;
     Items      = new List <IPost>();
     WallHolder = new WallHolder(0);
 }