コード例 #1
0
 public GAFObjectData(string _Name, ObjectType _Type, GAFBaseMovieClip _Clip, GAFObjectsManager _Manager, uint _ID, uint _AtlasElementID)
 {
     m_Name				= _Name;
     m_Type				= _Type;
     m_Clip 				= _Clip;
     m_Manager			= _Manager;
     m_ID 				= (int)_ID;
     m_AtlasElementID	= (int)_AtlasElementID;
 }
コード例 #2
0
 public GAFObjectData(GAFObjectData _Other)
 {
     m_Name					= _Other.name;
     m_Type					= _Other.type;
     m_Clip 					= _Other.clip;
     m_Manager				= _Other.manager;
     m_ID 					= (int)_Other.objectID;
     m_AtlasElementID		= (int)_Other.atlasElementID;
     m_IsVisible				= _Other.visible;
     m_Material				= _Other.material;
     m_StatePosition			= _Other.statePosition;
     m_Offset				= _Other.offset;
     m_UseCustomTextureRect	= _Other.useCustomTextureRect;
     m_AtlasTextureRect		= _Other.atlasTextureRect;
     m_MeshSizeMultiplier	= _Other.meshSizeMultiplier;
 }
コード例 #3
0
 public void initialize(string _Name, ObjectType _Type, GAFBaseMovieClip _Clip, GAFObjectsManager _Manager, uint _ObjectID, uint _AtlasElementID)
 {
     m_Data = new GAFObjectData(_Name, _Type, _Clip, _Manager, _ObjectID, _AtlasElementID);
 }