You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
562 B
C#
16 lines
562 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace MPUIKIT {
|
|
public interface IMPUIComponent{
|
|
Material SharedMat { get; set; }
|
|
bool ShouldModifySharedMat { get; set; }
|
|
RectTransform RectTransform { get; set; }
|
|
|
|
void Init(Material sharedMat, Material renderMat, RectTransform rectTransform);
|
|
event EventHandler OnComponentSettingsChanged;
|
|
void OnValidate();
|
|
void InitValuesFromMaterial(ref Material material);
|
|
void ModifyMaterial(ref Material material, params object[] otherProperties);
|
|
}
|
|
} |