SFX_FxObject.cs 496 B

1234567891011121314151617181920212223
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.Serialization;
  4. // ReSharper disable once CheckNamespace
  5. namespace QFX.SFX
  6. {
  7. [Serializable]
  8. public class SFX_FxObject : ICloneable
  9. {
  10. public GameObject Fx;
  11. public SFX_FxRotationType FxRotation = SFX_FxRotationType.Normal;
  12. public virtual object Clone()
  13. {
  14. return new SFX_FxObject
  15. {
  16. Fx = Fx,
  17. FxRotation = FxRotation
  18. };
  19. }
  20. }
  21. }