private bool InitMainProcess(object data) { DebugUtils.Log("RebellionOrganizeCtrl", string.Empty); _uiNavigation.SetNavigation(RebellionOrganizeMode.Main); _uiFleetSelector.isColliderEnabled = true; _uiParticipatingFleetSelector.isColliderEnabled = true; return(false); }
public static UIRebellionNavigation Instantiate(UIRebellionNavigation prefab, Transform parent, CtrlRebellionOrganize.RebellionOrganizeMode iMode) { UIRebellionNavigation uIRebellionNavigation = Object.Instantiate <UIRebellionNavigation>(prefab); uIRebellionNavigation.get_transform().set_parent(parent); uIRebellionNavigation.get_transform().set_localPosition(uIRebellionNavigation._vHidePos); uIRebellionNavigation.get_transform().localScaleOne(); uIRebellionNavigation.SetNavigation(iMode); return(uIRebellionNavigation); }
public static UIRebellionNavigation Instantiate(UIRebellionNavigation prefab, Transform parent, CtrlRebellionOrganize.RebellionOrganizeMode iMode) { UIRebellionNavigation uIRebellionNavigation = UnityEngine.Object.Instantiate(prefab); uIRebellionNavigation.transform.parent = parent; uIRebellionNavigation.transform.localPosition = uIRebellionNavigation._vHidePos; uIRebellionNavigation.transform.localScaleOne(); uIRebellionNavigation.SetNavigation(iMode); return(uIRebellionNavigation); }