Entitas  0.40.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Static Public Member Functions | List of all members
Entitas.TypeSerializationExtension Class Reference

Static Public Member Functions

static string ToCompilableString (this Type type)
 
static Type ToType (this string typeString)
 Tries to find and create a type based on the specified type string.
 
static string ShortTypeName (this string fullTypeName)
 
static string RemoveDots (this string fullTypeName)
 

Detailed Description

Definition at line 8 of file TypeSerializationExtension.cs.

Member Function Documentation

◆ ToCompilableString()

static string Entitas.TypeSerializationExtension.ToCompilableString ( this Type  type)
inlinestatic

Generates a simplified type string for the specified type that can be compiled. This is useful for code generation that will produce compilable source code. e.g. int instead of System.Int32 e.g. System.Collections.Generic.Dictionary<int, string> instead of System.Collections.Generic.Dictionary`2[System.Int32,System.String]

Definition at line 16 of file TypeSerializationExtension.cs.


The documentation for this class was generated from the following file: