WXMC/.svn/pristine/0b/0b1ce459ca20d936dd520163590567918c12601d.svn-base
2024-12-04 16:18:46 +08:00

112 lines
2.0 KiB
Plaintext

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class PHomeWorldBall : PHomeInventoryItem
{
[SerializeField]
protected Sprite m_body;
public Sprite Body
{
get
{
return m_body;
}
set
{
if (m_body != value)
{
m_body = value;
}
}
}
[SerializeField]
protected string m_unityScene;
public string UnityScene
{
get
{
return m_unityScene;
}
set
{
if (m_unityScene != value)
{
m_unityScene = value;
}
}
}
[SerializeField]
protected ReactionConfigs m_reactionConfigs;
public ReactionConfigs ReactionConfigs
{
get
{
return m_reactionConfigs;
}
set
{
if (m_reactionConfigs != value)
{
m_reactionConfigs = value;
}
}
}
[SerializeField]
protected VideoClip m_previewClip;
public VideoClip PreviewClip
{
get
{
return m_previewClip;
}
}
}
[System.Serializable]
public class ReactionConfigs
{
[SerializeField]
protected PHomeWorldBall m_reactionWorldBall;
public PHomeWorldBall ReactionWorldBall
{
get
{
return m_reactionWorldBall;
}
set
{
if (m_reactionWorldBall != value)
{
m_reactionWorldBall = value;
}
}
}
[SerializeField]
protected PHomeWorldBall m_rewardWorldBall;
public PHomeWorldBall RewardWorldBall
{
get
{
return m_rewardWorldBall;
}
set
{
if (m_rewardWorldBall != value)
{
m_rewardWorldBall = value;
}
}
}
}