You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
514 B
23 lines
514 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace UltraCombos.Marvel.DrawHeroes
|
|
{
|
|
[RequireComponent(typeof(CanvasGroup))]
|
|
public class Pivot : MonoBehaviour
|
|
{
|
|
CanvasGroup group;
|
|
|
|
public Vector3 Position { get { return transform.position; } }
|
|
|
|
private void Start()
|
|
{
|
|
group = GetComponent<CanvasGroup>();
|
|
group.interactable = group.blocksRaycasts = false;
|
|
group.alpha = 0;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|