Beispiel #1
0
        /** プールから作成。
         */
        public void InitializeFromPool()
        {
            //テクスチャ。
            this.texture = null;

            //色。
            this.color = UnityEngine.Color.white;

            //マテリアルタイプ。
            this.materialtype = Config.DEFALUT_SPRITE_MATERIALTYPE;
        }
Beispiel #2
0
 /** マテリアルタイプ。設定。
  */
 public void SetMaterialType(Render2D.MaterialType a_materialtype)
 {
     this.sprite.SetMaterialType(a_materialtype);
 }
Beispiel #3
0
 /** マテリアルアイテム。取得。
  */
 public Material_Item GetMaterialItem(Render2D.MaterialType a_material_type)
 {
     return(this.material_list[(int)a_material_type]);
 }