public void Initialize(ConstructionData constructionData, IConstructable constructable) { gameObject.layer = LayerMask.NameToLayer("Ignore Raycast"); ConstructionData = constructionData; Constructable = constructable; Constructable.Initialize(); }
static void Construct(GridPoint point, PointContainer container) { IConstructable c = task as IConstructable; if (c != null) { c.ElementContainer = container; c.Start(); Remove(); } }
public ActionRelease(IConstructable item) { Item = item; }
public ActionCreate(IConstructable item) { Item = item; }