protected virtual void Awake() { gameState = Utils.FindNovaGameController().GameState; spriteRenderer = GetComponent <SpriteRenderer>(); spriteChanger = GetComponent <SpriteChangerWithFade>(); textureChanger = GetComponent <OverlayTextureChangerBase>(); dialogueBoxController = GameObject.FindWithTag("DialogueView").GetComponent <DialogueBoxController>(); }
private void Awake() { image = GetComponent <Image>(); dialogueBoxController = GetComponent <DialogueBoxController>(); this.RuntimeAssert(image != null || dialogueBoxController != null, "Missing Image or DialogueBoxController."); configManager = Utils.FindNovaGameController().ConfigManager; }
private void Awake() { configManager = Utils.FindNovaGameController().ConfigManager; canvasGroup = GetComponent <CanvasGroup>(); dialogueBoxController = GetComponent <DialogueBoxController>(); this.RuntimeAssert(canvasGroup != null || dialogueBoxController != null, "Missing CanvasGroup or DialogueBoxController."); }
private void Awake() { var gameController = Utils.FindNovaGameController(); gameState = gameController.GameState; inputMapper = gameController.InputMapper; viewManager = Utils.FindViewManager(); dialogueBoxController = viewManager.GetController <DialogueBoxController>(); }
private void Awake() { configManager = Utils.FindNovaGameController().ConfigManager; dialogueBoxController = GetComponent <DialogueBoxController>(); configTextPreviewController = GetComponent <ConfigTextPreviewController>(); this.RuntimeAssert( dialogueBoxController != null || configTextPreviewController != null, "Missing DialogueBoxController or ConfigTextPreviewController." ); }
static int _CreateNova_DialogueBoxColor(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { Nova.DialogueBoxController arg0 = (Nova.DialogueBoxController)ToLua.CheckObject <Nova.DialogueBoxController>(L, 1); Nova.DialogueBoxColor.Type arg1 = (Nova.DialogueBoxColor.Type)ToLua.CheckObject(L, 2, typeof(Nova.DialogueBoxColor.Type)); Nova.DialogueBoxColor obj = new Nova.DialogueBoxColor(arg0, arg1); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: Nova.DialogueBoxColor.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private void Awake() { configManager = Utils.FindNovaGameController().ConfigManager; dialogueBoxController = GetComponent <DialogueBoxController>(); }
public DialogueBoxColor(DialogueBoxController dialogueBoxController, Type type) { this.dialogueBoxController = dialogueBoxController; this.type = type; }
private void Awake() { controller = GetComponent <DialogueBoxController>(); }
protected virtual void Awake() { gameState = Utils.FindNovaGameController().GameState; dialogueBoxController = Utils.FindViewManager().GetController <DialogueBoxController>(); textureChanger = GetComponent <OverlayTextureChangerBase>(); }