private void OnEnable() { isGloble = RuleHelper.IsGlobleRule(target as RuleObject); InitPropertys(); ChargeCurrent(); InitReorderList(); }
private void OnEnable() { isGloble = RuleHelper.IsGlobleRule(target as RuleObject); if (target == null) { DestroyImmediate(this); } else { RuleHelper.LoadImageImports(target as RuleObject, () => { RuleHelper.LoadLayerImports(target as RuleObject); }); InitPropertys(); ChargeCurrent(); } }