// @Brief : Start void Start() { m_pLogContainer = new KrCharagekiLogContainer(); m_pScenarioContainer = new KrCharagekiScenarioContainer(); KrCharagekiScript pScript = LoadScript(); //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: // RESOURCE DOWNLOAD List <string> pResourcePaths = pScript.GetResourcesPaths(); for (int sIndex = 0; sIndex < pResourcePaths.Count; sIndex++) { // TODO : Add asset download KrDebug.Log("Download => " + pResourcePaths[sIndex], typeof(KrCharagekiManager)); } //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: // INITILIZE COMMAND List <KrCharagekiCommand> pInitializeCommands = pScript.GetInitializeCommands(); KrDebug.Log("Initialize charageki", typeof(KrCharagekiManager)); for (int sIndex = 0; sIndex < pInitializeCommands.Count; sIndex++) { pInitializeCommands[sIndex].Exec(this); } //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: // SET MAIN SECTION m_pMainCharagekiSections = pScript.GetMainSections(); KrDebug.Log("Get main sections : count = " + m_pMainCharagekiSections.Count, typeof(KrCharagekiManager)); m_sSectionIndex = 0; ScriptUpdate(); }