public void Initialize(ConstructionData constructionData, IConstructable constructable)
 {
     gameObject.layer = LayerMask.NameToLayer("Ignore Raycast");
     ConstructionData = constructionData;
     Constructable    = constructable;
     Constructable.Initialize();
 }
Exemple #2
0
        static void Construct(GridPoint point, PointContainer container)
        {
            IConstructable c = task as IConstructable;

            if (c != null)
            {
                c.ElementContainer = container;
                c.Start();
                Remove();
            }
        }
Exemple #3
0
 public ActionRelease(IConstructable item)
 {
     Item = item;
 }
Exemple #4
0
 public ActionCreate(IConstructable item)
 {
     Item = item;
 }