Advertisement
salahzar

AzioniTesoro

Apr 12th, 2020
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class AzioniTesoro : MonoBehaviour
  6. {
  7.     // Start is called before the first frame update
  8.     void Start()
  9.     {
  10.        
  11.     }
  12.  
  13.     public void Grow()
  14.     {
  15.         transform.localScale = new Vector3(1, 1, 1);
  16.     }
  17.     public void Shrink()
  18.     {
  19.         transform.localScale = new Vector3(0.5f, 0.5f, 0.5f);
  20.     }
  21.  
  22.  
  23.     // Update is called once per frame
  24.     void Update()
  25.     {
  26.        
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement