import { _decorator , Component , Sprite , Material } from 'cc' ; const { ccclass , property } = _decorator ; @ ccclass ( 'Shadow' ) export default class Shadow extends Component { @ property isWhite : boolean = false ; img : Sprite | null = null ; material : Material | undefined | null = null ; onLoad ( ) { } }