コード例 #1
0
 // Token: 0x06000667 RID: 1639 RVA: 0x00035F43 File Offset: 0x00034143
 private void SpawnRaven(string key, string topic, string text, string label)
 {
     if (!Raven.IsInstantiated())
     {
         UnityEngine.Object.Instantiate <GameObject>(this.m_ravenPrefab, new Vector3(0f, 0f, 0f), Quaternion.identity);
     }
     Raven.AddTempText(key, topic, text, label, false);
 }
コード例 #2
0
 public static void HuginSays(string key, string topic, string text, string label)
 {
     //Traverse.Create(Tutorial.instance).Method("SpawnRaven", new object[]{ key,topic,text,label}).GetValue();
     if (!Raven.IsInstantiated())
     {
         UnityEngine.Object.Instantiate <GameObject>(Tutorial.instance.m_ravenPrefab, new Vector3(0f, 0f, 0f), Quaternion.identity);
     }
     Raven.AddTempText(key, topic, text, label, false);
 }
コード例 #3
0
ファイル: GuidePoint.cs プロジェクト: ingvard/valheim-jserver
 // Token: 0x06000D69 RID: 3433 RVA: 0x0005F914 File Offset: 0x0005DB14
 private void Start()
 {
     if (!Raven.IsInstantiated())
     {
         UnityEngine.Object.Instantiate <GameObject>(this.m_ravenPrefab, new Vector3(0f, 0f, 0f), Quaternion.identity);
     }
     this.m_text.m_static     = true;
     this.m_text.m_guidePoint = this;
     Raven.RegisterStaticText(this.m_text);
 }