blob: 341c337f1636525de55c52365b163d9c0705adc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
using System;
using UnityEngine;
namespace XUtliPoolLib
{
public class XLocalPRSAsyncData
{
public Vector3 localPos = Vector3.zero;
public Quaternion localRotation = Quaternion.identity;
public Vector3 localScale = Vector3.one;
public short mask = 0;
public void Reset()
{
this.localPos = Vector3.zero;
this.localRotation = Quaternion.identity;
this.localScale = Vector3.one;
this.mask = 0;
CommonObjectPool<XLocalPRSAsyncData>.Release(this);
}
}
}
|