| 12345678910111213141516171819202122232425262728293031 |
- using UnityEngine;
- public class Orbs : MonoBehaviour
- {
- public float orbPosX;
- public float orbPosY;
- public float orbPosZ;
-
- public float orbRotX;
- public float orbRotY;
- public float orbRotZ;
- public bool isCollected;
- // Start is called once before the first execution of Update after the MonoBehaviour is created
- void Start()
- {
- orbPosX = transform.position.x;
- orbPosY = transform.position.y;
- orbPosZ = transform.position.z;
- orbRotX = transform.rotation.x;
- orbRotY = transform.rotation.y;
- orbRotZ = transform.rotation.z;
- }
- // Update is called once per frame
- void Update()
- {
-
- }
- }
|