// Use this for initialization void Start() { startParent = GetComponentInChildren <IInstallStart>(); endParent = GetComponentInChildren <IInstallEnd>(); intallController = new InstallController(startParent, endParent); RegisterActionCommand(); }
public InstallController(IInstallStart startParent, IInstallEnd endParent) { this.startParent = startParent; this.endParent = endParent; elementLayer = (int)Mathf.Pow(2, 8); elementInstallLayer = (int)Mathf.Pow(2, 9); }