This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
using UnityEngine.Playables; | |
using UnityEngine.Timeline; | |
[Serializable] | |
public class DialogueTriggerClip : PlayableAsset, ITimelineClipAsset | |
{ | |
public DialogueTriggerBehaviour template = new DialogueTriggerBehaviour (); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Ink.Runtime; | |
using System; | |
using UnityEngine; | |
using UnityEngine.Playables; | |
using UnityEngine.Timeline; | |
using Dialogue; | |
[Serializable] | |
public class DialogueTriggerBehaviour : PlayableBehaviour | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
[CustomEditor(typeof(MyMono))] | |
public class EntityInspector : Editor { | |
public override void OnInspectorGUI() | |
{ | |
MyMono mono = (MyMono)target; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace AccelerometerServer | |
{ | |
public class Server | |
{ | |
public int Port; | |
public bool HasClient = false; | |
private Socket listener; | |
private Socket handler; | |
private string data = null; |
NewerOlder