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.
19 lines
428 B
C#
19 lines
428 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Autohand.Demo{
|
|
public class ScaleHighlight : MonoBehaviour{
|
|
public Vector3 highlighScale;
|
|
public Vector3 normalScale;
|
|
|
|
public void Highlight() {
|
|
transform.localScale = highlighScale;
|
|
}
|
|
|
|
public void HighlightStop() {
|
|
transform.localScale = normalScale;
|
|
}
|
|
}
|
|
}
|