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.
CrowdControl/Assets/3rd/MPUIKit/Runtime/Scripts/IMPUIComponent.cs

16 lines
562 B
C#

2 months ago
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);
}
}