/** プールから作成。 */ public void InitializeFromPool() { //テクスチャ。 this.texture = null; //色。 this.color = UnityEngine.Color.white; //マテリアルタイプ。 this.materialtype = Config.DEFALUT_SPRITE_MATERIALTYPE; }
/** マテリアルタイプ。設定。 */ public void SetMaterialType(Render2D.MaterialType a_materialtype) { this.sprite.SetMaterialType(a_materialtype); }
/** マテリアルアイテム。取得。 */ public Material_Item GetMaterialItem(Render2D.MaterialType a_material_type) { return(this.material_list[(int)a_material_type]); }