Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

30 rindas
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. }