public void Initialize(IBuilderInterface inter) { builder = inter; initialized = true; image.type = Image.Type.Sliced; abilityImage.type = Image.Type.Sliced; abilityTier.type = Image.Type.Sliced; SetInactive(); }
void Start() { builder = builderInterfaceContainer.GetComponent <IBuilderInterface>(); input.onValueChanged.AddListener(delegate { builder.SetSearcherString(input.text); }); }
public void SetBuilder(IBuilderInterface builder) { this.builder = builder; }