26 lines
525 B
C#
26 lines
525 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
public class HUDLvUp : HUDBase
|
||
|
|
{
|
||
|
|
public TweenScale m_ts;
|
||
|
|
public TweenPosition m_tp;
|
||
|
|
|
||
|
|
public void Set()
|
||
|
|
{
|
||
|
|
gameObject.SetActive(true);
|
||
|
|
|
||
|
|
m_ts.enabled = true;
|
||
|
|
m_ts.ResetToBeginning();
|
||
|
|
m_tp.enabled = false;
|
||
|
|
m_tp.ResetToBeginning();
|
||
|
|
Set_Target(MyValue.MyPC.transform);
|
||
|
|
}
|
||
|
|
|
||
|
|
public void Run_TweenPosition()
|
||
|
|
{
|
||
|
|
m_tp.enabled = true;
|
||
|
|
m_tp.ResetToBeginning();
|
||
|
|
}
|
||
|
|
}
|