public override void Click() { if (itemTarget.selectable) { selected = !selected; curLocAC.selectIntractable(selected); } if (itemTarget.itemPressMethod != null) { itemTarget.itemPressMethod(itemTarget.filePath, selected, this, false, itemTarget.index); } }
public override void AwakeActionComponent() { curLocAC = this.GetComponent <UiIntractable>(); curLocAC.curAC = this; if (itemTarget.startSelect) { selected = true; curLocAC.selectIntractable(selected); if (itemTarget.itemPressMethod != null) { itemTarget.itemPressMethod(itemTarget.filePath, selected, this, false, itemTarget.index); } } }