Example #1
0
        public static UnityCallbackLogger Create()
        {
            UnityCallbackLogger logger = new UnityCallbackLogger();

            var go     = new GameObject("Unity Callback Logger", typeof(MonoBehaviourDummy));
            var target = go.GetComponent <MonoBehaviourDummy>();

            logger.m_Target = target;
            target.LinkToLogger(logger.m_CallbackLog);

            return(logger);
        }
Example #2
0
 public void SetUp()
 {
     m_CallbackLogger = UnityCallbackLogger.Create();
 }