Layout_Sign.ts 445 B

123456789101112131415161718192021
  1. import { _decorator, Button, Component, Node, Toggle } from 'cc';
  2. import { Sign_Reward } from './Sign_Reward';
  3. const { ccclass, property } = _decorator;
  4. @ccclass('Layout_Sign')
  5. export class Layout_Sign extends Component {
  6. @property(Button)
  7. Return: Button = null;
  8. @property(Button)
  9. Free_Get:Button = null;
  10. @property([Sign_Reward])
  11. Sign_Reward: Sign_Reward[] = [];
  12. @property(Toggle)
  13. Toggle: Toggle = null;
  14. }