public void SetEmoteIcon(EmotiveIcon.IconDisplay iconDisplay = null) { EmotiveIconInstance.CurrentIconDisplayState = iconDisplay ?? EmotiveIcon.IconDisplay.Thought; EmotiveIconInstance.CurrentDisplayState = EmotiveIcon.Display.Appearing; EmotiveIconInstance.Visible = true; EmotiveIconInstance.BeginAnimations(shouldHideAfter: false); }
/// <summary> /// Initialization logic which is execute only one time for this Entity (unless the Entity is pooled). /// This method is called when the Entity is added to managers. Entities which are instantiated but not /// added to managers will not have this method called. /// </summary> /// public void SetDialogue(string dialogueId, EmotiveIcon.IconDisplay iconDisplay = null) { this.TwineDialogId = dialogueId; SetEmoteIcon(iconDisplay); }