Browse Source

Merge pull request #1017 from AtomicGameEngine/JME-ATOMIC-1016

Override CSComponent GetTypeName to return the managed type name
JoshEngebretson 9 years ago
parent
commit
7165ca865e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Script/AtomicNET/AtomicNET/Scene/CSComponent.cs

+ 5 - 0
Script/AtomicNET/AtomicNET/Scene/CSComponent.cs

@@ -1,9 +1,14 @@
+using System;
 namespace AtomicEngine
 {
 
     public partial class CSComponent : ScriptComponent
     {
 
+        public override string GetTypeName()
+        {
+            return GetType().Name;
+        }
 
     }