Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

30 wiersze
517 B

  1. using System;
  2. using UnityEngine;
  3. namespace SUISSEngine
  4. {
  5. public class SelfReference : PropertyAttribute
  6. {
  7. protected SelfReference(bool optional, bool child, bool parent)
  8. {
  9. this.optional = optional;
  10. this.child = child;
  11. this.parent = parent;
  12. }
  13. public SelfReference(bool optional) : this(optional, false, false)
  14. {
  15. }
  16. public SelfReference() : this(false)
  17. {
  18. }
  19. public readonly bool optional;
  20. public readonly bool child;
  21. public readonly bool parent;
  22. }
  23. }