Exemple #1
0
        public static void Log(string format, params object[] objects)
        {
            if (!CocoDebugSettingsData.Instance.IsResourceLogEnabled)
            {
                return;
            }

            CocoNative.Log(format, objects);
        }
Exemple #2
0
        protected override void Start()
        {
            base.Start();

            dressGuide = CocoLoad.InstantiateOrCreate("character_rotate_arrow", transform, CocoLoad.TransStayOption.Local);
            Input.multiTouchEnabled = true;
            CocoNative.Log("===ShowDialog==Start_SceneName: " + m_SceneID.ToString());

            if (GlobalData.curSelectRole != -1)
            {
                dressupData.m_DetailIndex = recordStateModel.RecordDolls[dressupData.m_DetailIndex].detailIndex;
            }
            else
            {
                m_CurRole.Dress.AddDressItem(new List <string> ()
                {
                    "eye_001", "body_001", "ear_001", "tail_001", "eye_001"
                });
            }
//			dressupData.m_DetailIndex = GlobalData.m_DetailIndex;
        }